Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make symbolize keys optional #364

Merged
merged 2 commits into from
Jun 8, 2024

Conversation

bastelfreak
Copy link
Member

rspec-puppet-facts has a setting to stringify keys again. Converting to symbols and then converting back to strings is inefficient. This parameter allows skipping the step.

@bastelfreak bastelfreak self-assigned this Jun 7, 2024
@bastelfreak
Copy link
Member Author

this is a resubmission of #362

@bastelfreak bastelfreak force-pushed the optional-symbolize-keys branch 2 times, most recently from 9b8742b to d55cbf4 Compare June 7, 2024 12:26
lib/facterdb.rb Outdated Show resolved Hide resolved
@bastelfreak bastelfreak force-pushed the optional-symbolize-keys branch from d55cbf4 to dd4a60d Compare June 7, 2024 12:27
@bastelfreak
Copy link
Member Author

I would like to merge this in the next minor release, then do a major one without legacy facts and flip the default to factsets aren't symbolized anymore. Objections?

ekohl and others added 2 commits June 8, 2024 23:54
rspec-puppet-facts has a setting to stringify keys again. Converting to
symbols and then converting back to strings is inefficient. This
parameter allows skipping the step.
@bastelfreak bastelfreak force-pushed the optional-symbolize-keys branch from ca8070d to 880b135 Compare June 8, 2024 21:54
@bastelfreak bastelfreak merged commit 3f68c14 into voxpupuli:master Jun 8, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants